package com.leon.android.ffmpeg

/**
 * @time:2019/8/14 17:04
 * @author:Leon
 * @description:
 */
data class VideoInfo(
    var audioEncodeName: String?,
    var audioEncodeType: Int?,
    var audioSampleFormatType: Int?,
    var avgFrameRateDen: Int?,
    var avgFrameRateNum: Int?,
    var bitRate: Int?,
    var bitsPerCodedSample: Int?,
    var filePath: String?,
    var formatExtensionsName: String?,
    var formatLongName: String?,
    var formatName: String?,
    var frameRate: Double?,
    var height: Int?,
    var level: Int?,
    var profile: Int?,
    var profileName: String?,
    var videoEncodeName: String?,
    var videoEncodeType: Int?,
    var videoPixelFormatType: Int?,
    var width: Int?
) {
    constructor() : this("",
        -1,
        -1,
        -1,-1,
        -1,
        -1,
        "",
        "",
        "",
        "",
        -1.0,
        -1,
        -1,
        -1,
        "",
        "",
        -1,
        -1,
        -1) {

    }
    var rawString: String? = null
    var errorMsg:String? = ""
}
